package com.zd.common.bean.model;

import java.util.Date;

import com.zd.common.common.annotation.Column;

/**
 * 用户信息实体类
 * 
 * @author lishi
 * @date 2018年11月7日 下午4:40:24
 */
public class UserInfo extends BaseModel {
	private Integer id;
	private Integer scenicSpotId; // 景区ID
	private String openid; // 用户景区公众号下的openid
	private String payOpenid; //用户景区支付公众号下的openid
	private String img; //用户图像
	private String nickname; //用户昵称
	private Date createTime;
	private Date updateTime;

	@Column
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column
	public Integer getScenicSpotId() {
		return scenicSpotId;
	}

	public void setScenicSpotId(Integer scenicSpotId) {
		this.scenicSpotId = scenicSpotId;
	}

	@Column
	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	@Column
	public String getPayOpenid() {
		return payOpenid;
	}

	public void setPayOpenid(String payOpenid) {
		this.payOpenid = payOpenid;
	}

	@Column
	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	@Column
	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	@Column
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
